package org.amse.bomberman.util;

/**
 *
 * @author Kirilchuk V.E
 * @author Mikhail Korovkin
 */
public final class Constants {
    
    private Constants() {}

    public static final int MAP_EMPTY  = 0;
    public static final int MAP_PROOF_WALL = -8;
    public static final int MAP_BOMB  = -16;
    public static final int MAP_DETONATED_BOMB = -17;
    public static final int MAP_EXPLOSION = -18;
    public static final int MAP_BONUS_LIFE = -9;
    public static final int MAP_BONUS_BOMB_COUNT = -10;
    public static final int MAP_BONUS_BOMB_RADIUS = -11;
    
    public static final int MAX_PLAYERS  = 15;//1..15
    public static final int MAX_PLAYER_NAME_LENGTH  = 10;
    
    public static final long GAME_STEP_TIME = 45L;
    public static final long BOMB_TIMER_VALUE = 200L*10;
    public static final long BOMB_DETONATION_TIME = 200L*3;

    public static final int PLAYER_DEFAULT_LIVES = 3;
    public static final int PLAYER_DEFAULT_MAX_BOMBS = 3;
    public static final int PLAYER_DEFAULT_BOMB_RADIUS = 2;
    public static final int PLAYER_IMMORTALITY_TIME = 1000;

    public static final int DEFAULT_PORT = 10500;
    public static final int DEFAULT_ACCEPT_TIMEOUT = 60000;
    public static final int DEFAULT_CLIENT_TIMEOUT = 300000;
    
    public static final String DEFAULT_FILE_LOG_NAME = "server.log";
}
